package com.chinamobile.websocket.websocket.scene;

import com.chinamobile.websocket.domain.dto.MessageDto;
import org.springframework.web.socket.WebSocketSession;

/**
 * @className: EndpointHandler
 * @description 场景的操作接口
 * @author: fanzhijun
 * @date: 2023/12/29
 **/
public interface EndpointHandler {
    String getMessage(MessageDto messageDto);

    void dealOnMessage(String message, WebSocketSession session);
}
